
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>AJAX - GET n POST</title>

<link rel="stylesheet" href="../css/styles.css" type="text/css"></link> 

<script type="text/javascript" src="../scripts/scripts.js"></script>

</head>
<body>

<fieldset>

<legend>GET Sample</legend>
<label>Name: <input type="text" id="name" /> </label><br />
<input type="button" value="Submit" onclick='showMes("name", "res")' /><br />
<div id="res"></div>
</fieldset>

<p></p>

<fieldset>

<legend>GET Sample</legend>
<label>Name: <input type="text" id="name1" /> </label><br />
<input type="button" value="Submit" onclick='showPOSTMes("name1", "res1")' /><br />
<div id="res1"></div>
</fieldset>
</body>
</html>